package com.web.kdl.pojo.Vo.flywheel;

import lombok.Data;

/**
 * @Author： shulibin
 * @Date： 2025/8/26 16:48
 * @Describe：
 */
@Data
public class FLywheelStatusVo {
    // 飞轮总数
    private int flywheelCount;
    // 飞轮状态
    private int runCount;
    // 待机数量
    private int standbyCount;
    // 故障数量
    private int errorCount;
    public FLywheelStatusVo(){
        runCount = 0;
        standbyCount = 0;
        errorCount = 0;
        flywheelCount = 0;
    }
    public void addRunCount() {
        runCount++;
    }
    public void addStandbyCount() {
        standbyCount++;
    }
    public void addErrorCount() {
        errorCount++;
    }
}
